package cn.wolfcode.web.controller;


import cn.wolfcode.web.anno.RequireLogin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {

    @RequestMapping("/test")
    @RequireLogin
    public String test() {
        return "test";
    }

}
